package com.yh.correct.model;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

/**
 * 迁居登记表  t_move
 * @author swj
 *
 */
public class MovePersonnel {
	
	/**
	 * 迁居编号
	 */
	private int id;
	/**
	 * 矫正单位编号
	 */
	private int jid;
	/**
	 * 服刑人员编号
	 */
	private int pid;
	/**
	 * 迁居时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date date;
	/**
	 * 迁居地
	 */
	private String place;
	/**
	 * 迁居事由
	 */
	private String reson;
	/**
	 * 就业情况
	 */
	private String job;
	/**
	 * 工作单位
	 */
	private String org;
	/**
	 * 迁居状态
	 */
	private String status;
	/**
	 * 备注
	 */
	private String remarks;
	/**
	 * 上传文件名字
	 */
	private String filename;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getJid() {
		return jid;
	}
	public void setJid(int jid) {
		this.jid = jid;
	}
	public int getPid() {
		return pid;
	}
	public void setPid(int pid) {
		this.pid = pid;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public String getPlace() {
		return place;
	}
	public void setPlace(String place) {
		this.place = place;
	}
	public String getReson() {
		return reson;
	}
	public void setReson(String reson) {
		this.reson = reson;
	}
	public String getJob() {
		return job;
	}
	public void setJob(String job) {
		this.job = job;
	}
	public String getOrg() {
		return org;
	}
	public void setOrg(String org) {
		this.org = org;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getRemarks() {
		return remarks;
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getFilename() {
		return filename;
	}

	public void setFilename(String filename) {
		this.filename = filename;
	}

	@Override
	public String toString() {
		return "MovePersonnel [id=" + id + ", jid=" + jid + ", pid=" + pid + ", date=" + date + ", place=" + place
				+ ", reson=" + reson + ", job=" + job + ", org=" + org + ", status=" + status + ", remarks=" + remarks
				+ "]";
	}
	
	
}
